/*
 * ConnectedChecker.java
 *
 * Created on 2007年10月14日, 下午12:50
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */
package com.exclamation.util.graph.checker;

import com.exclamation.util.graph.Graph;

/**
 *
 * @author littlerock
 */
public class ConnectedChecker implements GraphChecker {

    /** Creates a new instance of ConnectedChecker */
    public ConnectedChecker() {
    }

    public boolean check(Graph g) {
        if (g.isDirected()) {


            return false;
        } else {
            return true;

        }
    }
}
